package com.niiwoo.civet.user.dto.request;

import com.niiwoo.civet.user.enums.ProductTypeEnum;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 新增用户借款行为限制请求参数
 * @author xueyuke
 * @date 2017-11-23
 */
@Setter
@Getter
public class AddUserLoanLimitRequestDTO implements Serializable {
    private static final long serialVersionUID = -1845379051039082493L;

    private String userId;
    private ProductTypeEnum productTypeEnum;
    private Integer limitType;
    private Integer limitDays;

    @Override
    public String toString() {
        return "AddUserLoanLimitRequestDTO{" +
                "userId=" + userId +
                "productType=" + productTypeEnum.getProductType() +
                ", limitType=" + limitType +
                ", limitDays=" + limitDays +
                '}';
    }
}
